﻿@{
    ViewData["Title"] = "MenuRole";
    Layout = "~/Views/Shared/Temp.cshtml";
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Demo</title>
</head>
<body>
    <div class="layui-inline">
        <label class="layui-form-label" style="width: 100px;">角色:</label>
        <div class="layui-input-block">
            <select id="dynamicSelectRole" lay-filter="AllocateType">
            </select>
        </div>
    </div>
    @*   <div class="layui-inline">
    <label class="layui-form-label" style="width: 100px;">菜单:</label>
    <div class="layui-input-inline" id="dynamicSelect">
    <input type="checkbox" name="menuId" title="" />
    </div>
    </div> *@
    <div class="layui-form" lay-filter="treeForm">
        <div class="layui-inline">
            <label class="layui-form-label" style="width: 100px;">菜单:</label>
            <div class="layui-input-inline" id="dynamicSelect">
                <!-- 树形菜单将在这里渲染 -->
            </div>
        </div>
    </div>
   @*  <div>
        <label class="layui-form-label" style="width: 100px;">功能的value:</label>
        <div class="layui-input-inline">
            <input type="text" id="menufunction" />
        </div>
    </div> *@
    <div class="layui-form-item">
        <input type="button" value="添加" class="layui-btn" onclick="Enroll()" />
    </div>
    <script src="~/js/user/menurole.js"></script>

</body>
</html>
